package com.bit.inmap;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
 
public class FullImageActivity extends Activity {
 
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_full_image);
 
        // get intent data
        Intent i = getIntent();//
 
        // Selected image id
        int position = i.getExtras().getInt("id");
        ImageAdapter imageAdapter = new ImageAdapter(this);
 
       // ImageView imageView = (ImageView) findViewById(R.id.full_image_view);
       // imageView.setImageResource(imageAdapter.picture[position]);
        TouchImageView img = new TouchImageView(this);
        img.setImageResource(imageAdapter.picture[position]);
        img.setMaxZoom(4f);
        setContentView(img); 
    }
 
}
